package com.smart.model.dtomapper;

import com.smart.model.domain.ProjectChangeReviewDO;
import com.smart.model.request.ProjectChangeReviewRequest;
import com.smart.model.vo.ProjectChangeReviewVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author zhanghong
 */
@Mapper(componentModel = "spring")
public interface ProjectChangeReviewDtoMapper {

    ProjectChangeReviewDtoMapper INSTANCE = Mappers.getMapper(ProjectChangeReviewDtoMapper.class);

    /**
    * DO to VO
    * @param projectChangeReviewDO
    * @return
    */
    ProjectChangeReviewVO do2VO(ProjectChangeReviewDO projectChangeReviewDO);

    /**
     * reuest to DO
     * @param projectChangeReviewDO
     * @return
     */
    ProjectChangeReviewDO request2DO(ProjectChangeReviewRequest projectChangeReviewDO);
}
